/**
 * 筛选配置
 * 字典管理 dict-manage
 */
const selectConfig = {
  'dict-manage': [
    {
      type: 'select-input',
      name: '字典名称',
      prop: 'label',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入字典名称',
        iconConfig: {
          type: 'suffix',
          icon: 'el-icon-search',
          isClick: true,
          style: { cursor: 'pointer' }
        }
      },
      defaultConfig: {
        value: ''
      }
    },
    {
      type: 'select-option',
      name: '状态',
      prop: 'status',
      optionList: [],
      selectPath: 'dictList',
      selectParams: {
        codeList: ['grass-core.dictDetail.status']
      },
      dataProp: {
        keyProp: 'grass-core.dictDetail.status',
        nameProp: 'label',
        codeProp: 'value'
      },
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请选择状态'
      }
    }
  ]
}

export default {}
export { selectConfig }
